/* 
主题切换、回到顶部
*/


.joe_action {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 90
}

.joe_action_item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--sib-background);
    border-radius: 50%;
    cursor: pointer;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.1),0 5px 20px rgba(0,0,0,.2);
    box-shadow: 0 0 10px rgba(0,0,0,.1),0 5px 20px rgba(0,0,0,.2)
}

.joe_action_item svg {
    position: absolute;
    width: 25px;
    height: 25px;
    fill: var(--theme)
}

.joe_action_item.toc {
    display: none;
    text-align: center;
    line-height: 40px
}

.joe_action_item.toc i {
    font-size: 24px;
    font-weight: 700;
    color: var(--theme)
}

.joe_action_item.mode,.joe_action_item.toc {
    pointer-events: auto;
    margin-bottom: 15px
}

.joe_action_item.mode svg {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    -webkit-transition: opacity .85s,-webkit-transform .85s;
    transition: transform .85s,opacity .85s;
    transition: transform .85s,opacity .85s,-webkit-transform .85s
}

.joe_action_item.back2top {
    pointer-events: none;
    visibility: hidden;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: visibility .35s,-webkit-transform .35s;
    transition: visibility .35s,transform .35s;
    transition: visibility .35s,transform .35s,-webkit-transform .35s
}

.joe_action_item.back2top.active {
    pointer-events: auto;
    visibility: visible;
    -webkit-transform: scale(1);
    transform: scale(1)
}

.joe_action_item.mode svg.active {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1
}

